﻿using Model.Attbuter;

namespace Model
{
    public class Sys_Department
    {
        /// <summary>
        /// 部门编号
        /// </summary>
        [Key]
        public decimal DEPTID { get; set; }

        /// <summary>
        /// 公司编号
        /// </summary>
        public decimal CMY_ID { get; set; }

        /// <summary>
        /// 部门父级编号
        /// </summary>
        public decimal DEPTPARENTID { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DEPTNAME { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public decimal DEPTNUMBER { get; set; }

        /// <summary>
        /// 部门负责人
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal DEPT_PERSONID { get; set; }

        /// <summary>
        /// 部门副负责人
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal DEPT_DEPERSONID { get; set; }

        /// <summary>
        /// 绩效考核负责人
        /// </summary>
        [Colunm(IfVisable = true)]
        public decimal DEPT_JXPERSONID { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [Colunm(IfVisable = true)]
        public int STATE { get; set; }

        /// <summary>
        /// 级别
        /// </summary>
        [Colunm(IfVisable = true)]
        public int DLEVEL { get; set; }
    }
}